package com.paic.common.util;

import java.util.HashMap;
import java.util.Map;

public class CityProvince {
    public static final String[] CITYS = new String[] { "北京",
            "东莞,广州,中山,深圳,惠州,江门,珠海,汕头,佛山,湛江,河源,肇庆,清远,潮州,韶关,揭阳,阳江,梅州,云浮,茂名,汕尾",
            "济南,青岛,临沂,济宁,菏泽,烟台,淄博,泰安,潍坊,日照,威海,滨州,东营,聊城,德州,莱芜,枣庄", "苏州,徐州,盐城,无锡,南京,南通,连云港,常州,镇江,扬州,淮安,泰州,宿迁",
            "郑州,南阳,新乡,安阳,洛阳,信阳,平顶山,周口,商丘,开封,焦作,驻马店,濮阳,三门峡,漯河,许昌,鹤壁,济源", "上海",
            "石家庄,唐山,保定,邯郸,邢台,河北区,沧州,秦皇岛,张家口,衡水,廊坊,承德", "温州,宁波,杭州,台州,嘉兴,金华,湖州,绍兴,舟山,丽水,衢州", "香港",
            "西安,咸阳,宝鸡,汉中,渭南,安康,榆林,商洛,延安,铜川", "长沙,邵阳,常德,衡阳,株洲,湘潭,永州,岳阳,怀化,郴州,娄底,益阳,张家界,湘西州", "重庆",
            "漳州,厦门,泉州,福州,莆田,宁德,三明,南平,龙岩", "天津", "昆明,红河州,大理州,文山州,德宏州,曲靖,昭通,楚雄州,保山,玉溪,丽江,临沧,思茅,西双版纳州,怒江州,迪庆州",
            "成都,绵阳,广元,达州,南充,德阳,广安,阿坝州,巴中,遂宁,内江,凉山,攀枝花,乐山,自贡,泸州,雅安,宜宾,资阳,眉山,甘孜州",
            "贵港,玉林,北海,南宁,柳州,桂林,梧州,钦州,来宾,河池,百色,贺州,崇左,防城港", "芜湖,合肥,六安,宿州,阜阳,安庆,马鞍山,蚌埠,淮北,淮南,宣城,黄山,铜陵,亳州,池州,巢湖,滁州",
            "三亚,海口,琼海,文昌,东方,昌江县,陵水县,乐东县,保亭县,五指山,澄迈县,万宁,儋州,临高县,白沙县,定安县,琼中县,屯昌县", "南昌,赣州,上饶,吉安,九江,新余,抚州,宜春,景德镇,萍乡,鹰潭",
            "武汉,宜昌,襄樊,荆州,恩施,黄冈,孝感,十堰,咸宁,黄石,仙桃,天门,随州,荆门,潜江,鄂州,神农架", "太原,大同,运城,长治,晋城,忻州,临汾,吕梁,晋中,阳泉,朔州",
            "大连,沈阳,丹东,辽阳,葫芦岛,锦州,朝阳,营口,鞍山,抚顺,阜新,盘锦,本溪,铁岭", "台北,高雄,台中,新竹,基隆,台南,嘉义",
            "齐齐哈尔,哈尔滨,大庆,佳木斯,双鸭山,牡丹江,鸡西,黑河,绥化,鹤岗,伊春,大兴安岭,七台河", "赤峰,包头,通辽,呼和浩特,鄂尔多斯,乌海,呼伦贝尔,兴安盟,巴彦淖尔盟,乌兰察布盟,锡林郭勒盟,阿拉善盟",
            "澳门", "贵阳,黔东南州,黔南州,遵义,黔西南州,毕节,铜仁,安顺,六盘水", "兰州,天水,庆阳,武威,酒泉,张掖,陇南,白银,定西,平凉,嘉峪关,临夏回族自治州,金昌,甘南州",
            "西宁,海西州,海东,海北州,果洛州,玉树州,黄南藏族自治州",
            "乌鲁木齐,伊犁州,昌吉州,石河子,哈密,阿克苏,巴音郭楞州,喀什,塔城,克拉玛依,和田,阿勒泰州,吐鲁番,阿拉尔,博尔塔拉州,五家渠,克孜勒苏州,图木舒克", "拉萨,山南,林芝,日喀则,阿里,昌都,那曲",
            "吉林,长春,白山,延边,白城,松原,辽源,通化,四平", "银川,吴忠,中卫,石嘴山,固原" };
    public static final String[] PROVINCES = new String[] { "北京", "广东", "山东", "江苏", "河南", "上海", "河北", "浙江", "香港", "陕西",
            "湖南", "重庆", "福建", "天津", "云南", "四川", "广西", "安徽", "海南", "江西", "湖北", "山西", "辽宁", "台湾", "黑龙江", "内蒙古", "澳门",
            "贵州", "甘肃", "青海", "新疆", "西藏", "吉林", "宁夏" };

    public static Map<String, String> cityPro = new HashMap<>();

    static {
        for (int i = 0; i < PROVINCES.length; i++) {
            String cityInfo = CITYS[i];
            String[] arr = cityInfo.split(",", -1);
            for (String city : arr) {
                cityPro.put(city, PROVINCES[i]);
            }
        }

    }
}
